package com.bookshop.promotion.logic;

import java.io.Serializable;

public class PersonalPromotion implements Serializable{
	
	private static final long serialVersionUID = -1813268558857817301L;
	
	double mCreditPoints;
	EqualCoupons[] mEqualCoupon;
	DiscountCoupons[] mDiscountCoupon;

	public PersonalPromotion(double pCreditPoints,EqualCoupons[] pEqualCoupon,DiscountCoupons[] pDiscountCoupon){
		mCreditPoints=pCreditPoints;
		mEqualCoupon=pEqualCoupon;
		mDiscountCoupon=pDiscountCoupon;
	}
	
	public double getCreditPoints(){
		return mCreditPoints;
	}
	
	public EqualCoupons[] getEqualCoupons(){
		return mEqualCoupon;
	}
	
	public DiscountCoupons[] getDiscountCoupon(){
		return mDiscountCoupon;
	}
	
	public void setEuqalCoupons(EqualCoupons[] pEquals){
		mEqualCoupon=pEquals;
	}
	public void setDiscountCoupons(DiscountCoupons[] pDiscountCoupons){
		mDiscountCoupon=pDiscountCoupons;
	}
}
